import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css'
import axios from "axios";

//导入axios是默认配置的axios
// 调用create方法是创建一个自定义配置的axios对象
// axios.create({
//     withCredentials:true
// })

const app=createApp(App);
app.config.globalProperties.$axios=axios;
app.use(store).use(router).use(vant).use(vant.Lazyload).mount('#app')
